package cn.line5.seam.annotations;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

/**
 * <h1>定义Ajax请求方法</h1>
 * 定义Ajax请求的方法，表明该方法是供Ajax请求调用的。<br/>
 * eg:<br/>
 * <I> class Test {<br/>
 * ...<br/>
 * 
 * &#64;AjaxRemote<br/>
 * public String testXXX(String str) {<br/>
 * ...<br/>
 * return "";<br/>
 * } <br/><br/>
 * } </I>
 * 
 * @author Liu,Xiaojun
 * @since JDK1.6
 */
@Target(METHOD)
@Retention(RUNTIME)
@Documented
public @interface AjaxRemote {
}